package com.mryang.hds.service;

import com.mryang.hds.entity.PunchRecord;
import com.mryang.hds.entity.User;
import com.mryang.hds.utils.ResultJson;

import java.util.List;
import java.util.Map;

/**
 * @author Genius
 * @version 1.0.0
 * @ClassName UserService.java
 * @Description TODO
 * @createTime 2022年12月24日 14:08:00
 */


public interface IUserService {

    List<User> getAllUser();

    User getUserById(Integer uid);

    int updatePwd(Integer uid, String newPwd);

    void addUser(User user);

    ResultJson editUser(User user, User userOld);

    List<User> getUByCreator(String createId);

    Map<String,Integer> aboutMe(Integer userId);

    List<PunchRecord> getPunchRecordById(Integer uid);

    List<User> getAssmUser(Integer createOk);

    void editSelectsUser(List<Integer> selectsId, String createId);

    List<User> searchNoAssm(String name, Integer createOk, String address);

}
